import {compress} from '../001_use_replace.js'

test('compress function works', () => {
    console.log(compress)
    const url = "foo=1&foo=2&blah=a&blah=b&foo=3"
    expect(compress(url)).toEqual('foo=1,2,3&blah=a,b')
})
